Optimal. Leaf size=114 \[ -\frac{a e^2+c d^2+2 c d e x}{\left (c d^2-a e^2\right )^2 \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )}-\frac{2 c d e \log (a e+c d x)}{\left (c d^2-a e^2\right )^3}+\frac{2 c d e \log (d+e x)}{\left (c d^2-a e^2\right )^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.098525, antiderivative size = 114, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ -\frac{a e^2+c d^2+2 c d e x}{\left (c d^2-a e^2\right )^2 \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )}-\frac{2 c d e \log (a e+c d x)}{\left (c d^2-a e^2\right )^3}+\frac{2 c d e \log (d+e x)}{\left (c d^2-a e^2\right )^3} \]
Antiderivative was successfully verified.
[In] Int[(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^(-2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.1876, size = 104, normalized size = 0.91 \[ \frac{4 c d e \operatorname{atanh}{\left (\frac{a e^{2} + c d^{2} + 2 c d e x}{a e^{2} - c d^{2}} \right )}}{\left (a e^{2} - c d^{2}\right )^{3}} - \frac{a e^{2} + c d^{2} + 2 c d e x}{\left (a e^{2} - c d^{2}\right )^{2} \left (a d e + c d e x^{2} + x \left (a e^{2} + c d^{2}\right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a*d*e+(a*e**2+c*d**2)*x+c*d*e*x**2)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.176134, size = 86, normalized size = 0.75 \[ \frac{\frac{\left (c d^2-a e^2\right ) \left (a e^2+c d (d+2 e x)\right )}{(d+e x) (a e+c d x)}+2 c d e \log (a e+c d x)-2 c d e \log (d+e x)}{\left (a e^2-c d^2\right )^3} \]
Antiderivative was successfully verified.
[In] Integrate[(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^(-2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.017, size = 107, normalized size = 0.9 \[ -{\frac{e}{ \left ( a{e}^{2}-c{d}^{2} \right ) ^{2} \left ( ex+d \right ) }}-2\,{\frac{dec\ln \left ( ex+d \right ) }{ \left ( a{e}^{2}-c{d}^{2} \right ) ^{3}}}-{\frac{cd}{ \left ( a{e}^{2}-c{d}^{2} \right ) ^{2} \left ( cdx+ae \right ) }}+2\,{\frac{dec\ln \left ( cdx+ae \right ) }{ \left ( a{e}^{2}-c{d}^{2} \right ) ^{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a*e*d+(a*e^2+c*d^2)*x+c*d*e*x^2)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.737598, size = 319, normalized size = 2.8 \[ -\frac{2 \, c d e \log \left (c d x + a e\right )}{c^{3} d^{6} - 3 \, a c^{2} d^{4} e^{2} + 3 \, a^{2} c d^{2} e^{4} - a^{3} e^{6}} + \frac{2 \, c d e \log \left (e x + d\right )}{c^{3} d^{6} - 3 \, a c^{2} d^{4} e^{2} + 3 \, a^{2} c d^{2} e^{4} - a^{3} e^{6}} - \frac{2 \, c d e x + c d^{2} + a e^{2}}{a c^{2} d^{5} e - 2 \, a^{2} c d^{3} e^{3} + a^{3} d e^{5} +{\left (c^{3} d^{5} e - 2 \, a c^{2} d^{3} e^{3} + a^{2} c d e^{5}\right )} x^{2} +{\left (c^{3} d^{6} - a c^{2} d^{4} e^{2} - a^{2} c d^{2} e^{4} + a^{3} e^{6}\right )} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x)^(-2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.210575, size = 374, normalized size = 3.28 \[ -\frac{c^{2} d^{4} - a^{2} e^{4} + 2 \,{\left (c^{2} d^{3} e - a c d e^{3}\right )} x + 2 \,{\left (c^{2} d^{2} e^{2} x^{2} + a c d^{2} e^{2} +{\left (c^{2} d^{3} e + a c d e^{3}\right )} x\right )} \log \left (c d x + a e\right ) - 2 \,{\left (c^{2} d^{2} e^{2} x^{2} + a c d^{2} e^{2} +{\left (c^{2} d^{3} e + a c d e^{3}\right )} x\right )} \log \left (e x + d\right )}{a c^{3} d^{7} e - 3 \, a^{2} c^{2} d^{5} e^{3} + 3 \, a^{3} c d^{3} e^{5} - a^{4} d e^{7} +{\left (c^{4} d^{7} e - 3 \, a c^{3} d^{5} e^{3} + 3 \, a^{2} c^{2} d^{3} e^{5} - a^{3} c d e^{7}\right )} x^{2} +{\left (c^{4} d^{8} - 2 \, a c^{3} d^{6} e^{2} + 2 \, a^{3} c d^{2} e^{6} - a^{4} e^{8}\right )} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x)^(-2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 5.17221, size = 484, normalized size = 4.25 \[ - \frac{2 c d e \log{\left (x + \frac{- \frac{2 a^{4} c d e^{9}}{\left (a e^{2} - c d^{2}\right )^{3}} + \frac{8 a^{3} c^{2} d^{3} e^{7}}{\left (a e^{2} - c d^{2}\right )^{3}} - \frac{12 a^{2} c^{3} d^{5} e^{5}}{\left (a e^{2} - c d^{2}\right )^{3}} + \frac{8 a c^{4} d^{7} e^{3}}{\left (a e^{2} - c d^{2}\right )^{3}} + 2 a c d e^{3} - \frac{2 c^{5} d^{9} e}{\left (a e^{2} - c d^{2}\right )^{3}} + 2 c^{2} d^{3} e}{4 c^{2} d^{2} e^{2}} \right )}}{\left (a e^{2} - c d^{2}\right )^{3}} + \frac{2 c d e \log{\left (x + \frac{\frac{2 a^{4} c d e^{9}}{\left (a e^{2} - c d^{2}\right )^{3}} - \frac{8 a^{3} c^{2} d^{3} e^{7}}{\left (a e^{2} - c d^{2}\right )^{3}} + \frac{12 a^{2} c^{3} d^{5} e^{5}}{\left (a e^{2} - c d^{2}\right )^{3}} - \frac{8 a c^{4} d^{7} e^{3}}{\left (a e^{2} - c d^{2}\right )^{3}} + 2 a c d e^{3} + \frac{2 c^{5} d^{9} e}{\left (a e^{2} - c d^{2}\right )^{3}} + 2 c^{2} d^{3} e}{4 c^{2} d^{2} e^{2}} \right )}}{\left (a e^{2} - c d^{2}\right )^{3}} - \frac{a e^{2} + c d^{2} + 2 c d e x}{a^{3} d e^{5} - 2 a^{2} c d^{3} e^{3} + a c^{2} d^{5} e + x^{2} \left (a^{2} c d e^{5} - 2 a c^{2} d^{3} e^{3} + c^{3} d^{5} e\right ) + x \left (a^{3} e^{6} - a^{2} c d^{2} e^{4} - a c^{2} d^{4} e^{2} + c^{3} d^{6}\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a*d*e+(a*e**2+c*d**2)*x+c*d*e*x**2)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.214476, size = 238, normalized size = 2.09 \[ -\frac{4 \, c d \arctan \left (\frac{2 \, c d x e + c d^{2} + a e^{2}}{\sqrt{-c^{2} d^{4} + 2 \, a c d^{2} e^{2} - a^{2} e^{4}}}\right ) e}{{\left (c^{2} d^{4} - 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )} \sqrt{-c^{2} d^{4} + 2 \, a c d^{2} e^{2} - a^{2} e^{4}}} - \frac{2 \, c d x e + c d^{2} + a e^{2}}{{\left (c^{2} d^{4} - 2 \, a c d^{2} e^{2} + a^{2} e^{4}\right )}{\left (c d x^{2} e + c d^{2} x + a x e^{2} + a d e\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x)^(-2),x, algorithm="giac")
[Out]